/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2021-12-04     Administrator       the first version
 */

#ifndef _UART_H_
#define _UART_H_
#include <stdio.h>
#include <rtdevice.h>
#include <board.h>
#define SAMPLE_UART_NAME  "uart1"
int thread_serial(void);
static rt_err_t uart_input(rt_device_t dev, rt_size_t size);
void uart_send(const char *channel, char *str);
void uart_send_byte(uint16_t id);
#endif
